package com.gxw.rxjavatest.model.bean;

import com.gxw.rxjavatest.utils.Strings;

/**
 * Created by GXW on 2016/4/7 0007.
 * email:603004002@qq.com
 */
public class UpLogin {

    private String loginID;
    private String password;
    private String deviceType;

    public UpLogin() {
    }

    public UpLogin(String loginID, String password, String deviceType) {
        this.loginID = loginID;
        this.password = Strings.md5(password);
        this.deviceType = deviceType;
    }

    public String getLoginID() {
        return loginID;
    }

    public void setLoginID(String loginID) {
        this.loginID = loginID;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    @Override
    public String toString() {
        return "UpLogin{" +
                "loginID='" + loginID + '\'' +
                ", password='" + password + '\'' +
                ", deviceType='" + deviceType + '\'' +
                '}';
    }
}
